--- tools/nemerlish/orig.readline.n	Sun May 15 16:37:49 2005
+++ tools/nemerlish/readline.n	Sat Jun 18 15:36:09 2005
@@ -53,7 +53,7 @@
   [DllImport ("readline")]
   static extern add_history (_ : string) : void;
 
-  [DllImport ("readline")]
+  [DllImport ("c")]
   static extern isatty (_ : int) : bool;
 
   private this () {
